package com.yxc.ejad.entity;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;

import java.util.Date;
import java.util.List;

/**
 * @author: YXC
 * @time: 2023/10/19 17:11
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
public class JavaApiIndexEsEntity {

    public static final String indexName = "java_api_index";

    private Integer intField;

    private String strField;

    private Long langField;

//    private LocalDateTime localDateTimeField;

    private Date dateField;

    private Boolean booleanField;

    private Double doubleField;

    private List<String> strListField;

    private List<Integer> intListField;

    private JSONObject jsonObjectField;

    private List<JSONObject> joListField;

}